Re: dyntest.pgc not working in 7.4 ?
От | Seum-Lim Gan |
---|---|
Тема | Re: dyntest.pgc not working in 7.4 ? |
Дата | |
Msg-id | p05100368bc234a6657bb@[192.168.10.154] обсуждение исходный текст |
Ответ на | dyntest.pgc not working in 7.4 ? (Seum-Lim Gan <slgan@lucent.com>) |
Ответы |
Re: dyntest.pgc not working in 7.4 ?
|
Список | pgsql-bugs |
Hi Michael and all, After working with Bruce last night about the src/template/solaris file, there is a new version of the file to be used for compiling with --enable-thread-safety. This version compiled without errors this time. This version also resolved the issue with dyntest.pgc failing in 7.4.x. I have tested the new compile and ran both dyntest and dyntest2. Both ran without problem. Just for quick reference the new template/solaris file from Bruce looks like this: ============ if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode CFLAGS="-O -v" # -v is like gcc -Wall fi # Pick right test-and-set (TAS) code. case $host in sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;; i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;; esac THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 if test "$GCC" = yes then THREAD_LIBS="-pthread" else THREAD_CPPFLAGS="-mt" THREAD_LIBS="-lpthread" fi ============ Both Lucy and I would like to thank everyone who helped one way or the other ! Thanks. Gan -- +--------------------------------------------------------+ | Seum-Lim GAN email : slgan@lucent.com | | Lucent Technologies | | 2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 | | Naperville, IL 60566, USA. fax : (630)-713-7272 | | web : http://inuweb.ih.lucent.com/~slgan | +--------------------------------------------------------+
В списке pgsql-bugs по дате отправления: